#if !defined(AFX_BODYCHECKPAGE_H__CEA2992A_DD45_47B3_843F_5A671505206E__INCLUDED_)
#define AFX_BODYCHECKPAGE_H__CEA2992A_DD45_47B3_843F_5A671505206E__INCLUDED_

#include "PageDialog.h"
#include "BCDoctorWritePage.h"
#include "BCBergScorePage.h"
#include "BCFuglMeyerUpPage.h"
#include "BCFuglMeyerLowPage.h"
#include "BCHoldenWalkPage.h"
#include "BCFuglMeyerBalPage.h"
#include "BCReviseAshworthPage.h"
#include "BCBrunnstromPage.h"
#include "BCTinettiBalPage.h"
#include "BCMiniMentalPage.h"
#include "../Common/LinkButton.h"
#include "../Common/TabCtrlEx.h"

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// BodyCheckPage.h : header file
//

/////////////////////////////////////////////////////////////////////////////
// CBodyCheckPage dialog

class CBodyCheckPage : public CPageDialog
{
// Construction
public:
	CBodyCheckPage(CWnd* pParent = NULL);   // standard constructor

	virtual BOOL	SaveData(CString strMRN);
	virtual BOOL	ShowTableData(CString strMRN);
	virtual BOOL	ClearData();
	virtual BOOL	EnableInputControls(BOOL bEnable);
	
	BOOL			NewFirstBodyCheck();

// Dialog Data
	//{{AFX_DATA(CBodyCheckPage)
	enum { IDD = IDD_DIALOG_PAGE_BODYCHECK };
	CLinkButton	m_btnDraftSave;
	CLinkButton	m_btnSave;
	CTabCtrlEx	m_tabBodyCheck;
	//}}AFX_DATA


// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CBodyCheckPage)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(CBodyCheckPage)
	virtual BOOL OnInitDialog();
	afx_msg void OnSelchangeTabBodycheck(NMHDR* pNMHDR, LRESULT* pResult);
	afx_msg void OnBodycheckDraftSave();
	afx_msg void OnBodycheckSave();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()

private:
	CBCDoctorWritePage			m_pageDoctorWrite;
	CBCBergScorePage			m_pageBergScore;
	CBCFuglMeyerUpPage			m_pageFuglMeyerUp;
	CBCFuglMeyerLowPage			m_pageFuglMeyerLow;
	CBCHoldenWalkPage			m_pageHoldenWalk;
	CBCFuglMeyerBalPage			m_pageFuglMeyerBal;
	CBCReviseAshworthPage		m_pageReviseAshworth;
	CBCBrunnstromPage			m_pageBrunnstrom;
	CBCMiniMentalPage			m_pageMiniMental;
	CBCTinettiBalPage			m_pageTinettiBal;

	BOOL						m_bDraftSave;
};

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_BODYCHECKPAGE_H__CEA2992A_DD45_47B3_843F_5A671505206E__INCLUDED_)
